package com.cao.springbootinit.model.dto.question;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Optional;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class QuestionContenDto {
    /**
     * 题目
     */
    private String title;
    /**
     * 题目列表
     */
    private List<Optional> options;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor

    public static class Optional {
        private String result;
        private int score;
        private String value;
        private String key;
    }
}
